package com.yida.gwj.deposit.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description 单位批量缴费修改参数
 * @Author wws
 * @Date 2023-02-23
 */
@ApiModel("单位批量缴费修改参数")
public class GwjUnitDepositEditRequest {

    @Valid
    @ApiModelProperty("业务信息")
    @NotNull(message = "业务信息不能为空")
    private GwjUnitDepositBusinessEditRequest businessRequest;

    @Valid
    @ApiModelProperty("业务金额信息")
    @NotNull(message = "业务金额信息不能为空")
    private GwjUnitDepositMoneyEditRequest moneyRequest;

    @Valid
    @ApiModelProperty("业务缴费明细")
    private List<GwjUnitDepositBusinessDetailEditRequest> detailsRequest;


    public GwjUnitDepositBusinessEditRequest getBusinessRequest() {
        return businessRequest;
    }

    public void setBusinessRequest(GwjUnitDepositBusinessEditRequest businessRequest) {
        this.businessRequest = businessRequest;
    }

    public GwjUnitDepositMoneyEditRequest getMoneyRequest() {
        return moneyRequest;
    }

    public void setMoneyRequest(GwjUnitDepositMoneyEditRequest moneyRequest) {
        this.moneyRequest = moneyRequest;
    }

    public List<GwjUnitDepositBusinessDetailEditRequest> getDetailsRequest() {
        return detailsRequest;
    }

    public void setDetailsRequest(List<GwjUnitDepositBusinessDetailEditRequest> detailsRequest) {
        this.detailsRequest = detailsRequest;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjUnitDepositEditRequest{");
        sb.append("businessRequest=").append(businessRequest);
        sb.append(", moneyRequest=").append(moneyRequest);
        sb.append(", detailRequest=").append(detailsRequest);
        sb.append('}');
        return sb.toString();
    }
}
